package com.alien.admin.utils;

public class DeployConstant {

    /** 1-合并分支2-镜像构建3-容器部署4-健康监测 */
    public static final Integer DEPLOY_STAGE_BRANCH_MERGE = 0;
    public static final Integer DEPLOY_STAGE_BUILD_IMAGE = 1;
    public static final Integer DEPLOY_STAGE_BUILD_IMAGE_CHECK = 2;
    public static final Integer DEPLOY_STAGE_DEPLOY = 3;
    public static final Integer DEPLOY_STAGE_HEALTH_CHECK = 4;

    /** 状态 0-未构建1-构建中2-失败3-成功 4-取消 */
    public static final Integer DEPLOY_STATUS_NONE = 0;
    public static final Integer DEPLOY_STATUS_RUNNING = 1;
    public static final Integer DEPLOY_STATUS_FAILED = 2;
    public static final Integer DEPLOY_STATUS_SUCCESS = 3;
    public static final Integer DEPLOY_STATUS_CANCEL = 4;

    /** 運行狀態 0-死亡 1-运行 2-未知 */
    public static final Integer RUNNING_STATUS_DEATH = 0;
    public static final Integer RUNNING_STATUS_ALIVE = 1;
    public static final Integer RUNNING_STATUS_UNKNOW = 2;


    /** 集群的统计列 */
    public static final String K8S_SUM_NAME = "__sum__";
}
